package com.cashg.dao;

import android.net.Uri;
import android.provider.BaseColumns;

public class CashGEntities {
    
    public static final String AUTHORITY =
            "com.cashg";
    
    
    public static class Merchant implements BaseColumns, ExpirableEntity {
    	
        // This class cannot be instantiated
        Merchant() {}

        // uri references all merchants
        public static final Uri MERCHANT_URI = Uri.parse("content://" +
        		AUTHORITY + "/merchant");
        
        
        /**
         * The merchant itself
         * <P>Type: TEXT</P>
         */
        public static final String MERCHANT = "merchant";
        
        public static final String MERCHANT_TABLE_NAME = "merchant";
        
        public static final String NAME_COLUMN = "username";
        
        public static final String THUMBNAIL = "pofileImg";
        
        public static final String TIMESTAMP_COLUMN = "creation_time";
        
        public static final int NAME = 1;
        
        public static final String FLUSH_TIME = "0 minutes";

		@Override
		public String getTblName() {
			return MERCHANT_TABLE_NAME;
		}

		@Override
		public String getExpirationTimeName() {
			return TIMESTAMP_COLUMN;
		}

		@Override
		public String getFlushTime() {
			return FLUSH_TIME;
		}

		@Override
		public int getIdColumnIndex() {
			return 0;
		}
		
    	
    }

}
